package com.item 
{
	/**
	 * ...
	 * @author wen
	 */
	public class SuperStar extends starMc
	{
		private var _angle:Number = 0;
		
		private var _id:int = 0;
		
		public function SuperStar()
		{
			
		}
		
		public function get angle():Number 
		{
			return _angle;
		}
		
		public function set angle(value:Number):void 
		{
			_angle = value;
			
			var tmpAngle:Number = 2 * Math.PI / 12;
			
			x =  80 * Math.cos(value) * (value-_id*tmpAngle) * tmpAngle ;
			y = 30+ 80 * Math.sin(value) * (value-_id*tmpAngle) * tmpAngle ;
		}
		
		public function get id():int 
		{
			return _id;
		}
		
		public function set id(value:int):void 
		{
			_id = value;
		}
		
	}

}